import { request } from "@/utils";

//1、登录请求

export function loginAPI(formData) {
    const { username, password } = formData
    return request({
        url: `/user/login?username=${username}&password=${password}`,
        method: 'GET'

    })
}